package staticFactory.a1;

import org.springframework.stereotype.Service;

public class Student {
    private String stuId;
    private String stuName;
    private String stuPwd;

    public Student() { }

    public Student(String stuId, String stuName, String stuPwd) {
        this.stuId = stuId;
        this.stuName = stuName;
        this.stuPwd = stuPwd;
    }

    public String getStuId() {
        return stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public String getStuPwd() {
        return stuPwd;
    }

    public String toString() {
        return "Student{" +
                "stuId='" + stuId + '\'' +
                ", stuName='" + stuName + '\'' +
                ", stuAge=" + stuPwd +'}';
    }
}
